package per.hnvcam.searchext.services;

import per.hnvcam.searchext.data.model.Statistic;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: camhoang
 * Date: 3/5/12
 * Time: 9:37 PM
 * To change this template use File | Settings | File Templates.
 */
public interface StatisticService {
   void generateStatistic();
   List findAllStatistic();
   Statistic getLastStatistic();
   List getRecentStatistic(int count);
   List convertToGraphData(List historicalStatistic);
   int getPercentage(Statistic stats);
   void save(Statistic statistic);
   void removeAllStatistic();
}
